package com.intelligent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.intelligent.dto.WarehouseReceiptQueryDTO;
import com.intelligent.pojo.WarehouseReceipt;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 入库单Mapper接口
 */
@Mapper
public interface WarehouseReceiptMapper extends BaseMapper<WarehouseReceipt> {

    // 分页查询
    IPage<WarehouseReceipt> selectPageVo(IPage<WarehouseReceipt> page, @Param("query") WarehouseReceiptQueryDTO query);

    //自定义新增
    boolean add(WarehouseReceipt receipt);
}
